package com.icookie.shuatim.api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuatim.model.wechat.Question;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author cookie
 */
public interface QuestionMapper extends BaseMapper<Question> {

    @MapKey("sort")
    Map<String,Question> queryQus(@Param("paperId") Integer paperId, @Param("types1") Integer types1);

    List<Question> queryAnswerSheet(Map<String,Object> p);
}